use Module::Build;
my $build = Module::Build->new (
    module_name => 'MySQL::SNMP',
    license => 'gpl',
    requires => {
	'Math::BigInt' => 0,
	'Unix::Syslog' => 0,
	'SNMP' => 0,
	'DBI' => 0,
	'DBD::mysql' => 0,
	'Pod::Usage' => 0,
    },
    recommends => {
	'Math::BigInt::GMP',
    },
    script_files => [ qw( mysql-ppsnmp ) ],
    install_path => {
	script => '/usr/share/snmp',
    },
);

$build->create_build_script;
